package com.goods.service;

import com.goods.common.model.business.Consumer;
import com.goods.common.vo.business.ConsumerVO;

import java.util.List;

public interface ConsumerService {
    List<Consumer> findConsumerList(String name, String address, String contact);

    int add(ConsumerVO consumerVO);

    Consumer edit(Long id);

    int update(Long id,ConsumerVO consumerVO);

    int delete(Long id);

    List<Consumer> findAll();
}
